<?php
/* @var $this ItemsController */
/* @var $model Items */


if($model->entry_id===null)throw new CHttpException(404,'The requested page does not exist.');

$this->breadcrumbs=array(
	$model->entry->code=>array('entry/view', 'id'=>$model->entry_id),
	//$model->container->code=>array('container/view', 'id'=>$model->container->id),
	'Create',
);

$this->menu=array(
	array('label'=>'List Items', 'url'=>array('index')),
	array('label'=>'Manage Items', 'url'=>array('admin')),
);
?>

 <h1>Create Items for <?php echo $model->entry->code; ?> </h1>

<?php $this->renderPartial('_form', array('model'=>$model)); ?>